package com.wyl.selenium.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyl.selenium.common.CommonPage;
import com.wyl.selenium.entity.ProjectInterface;
import com.wyl.selenium.req.ProjectInterfaceReq;
import com.wyl.selenium.vo.ProjectInterfaceVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2023/11/13 11:09
 */
public interface ProjectInterfaceService extends IService<ProjectInterface> {

    /**
     * 导入项目接口
     * @param multipartFile
     * @param projectBaseInfoId
     * @throws IOException
     */
    void importProjectInterface(MultipartFile multipartFile,Long projectBaseInfoId) throws IOException;

    /**
     * 分页
     * @param projectInterfaceReq
     * @return
     */
    CommonPage<List<ProjectInterfaceVo>> pageProjectInterface(ProjectInterfaceReq projectInterfaceReq);


}
